package edu.cueb.wmis.mapper;

import edu.cueb.wmis.pojo.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liuzizhuo
 * @since 2021-04-19
 */
public interface AdminMapper extends BaseMapper<Admin> {

    @Select("SELECT NAME FROM tb_admin WHERE id = #{aid}")
    String getNameById(Integer aid);
}
